package com.peas.platform.module.icims.base.sys.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.SequenceRepository;
import com.peas.platform.module.icims.base.sys.adapter.repository.po.SequencePo;
import com.peas.platform.module.icims.base.sys.domain.SequenceDomain;
import com.peas.platform.module.icims.base.sys.dto.SequenceDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class SequenceDomainImpl extends BaseDomainImpl<SequenceDto, SequencePo> implements SequenceDomain {

    @Resource
    private SequenceRepository sequenceRepository;

    @Override
    public BaseRepository<SequencePo> getMapper() {
        return sequenceRepository;
    }

    @Override
    public Class<? extends BaseRepository<SequencePo>> getRepositoryClass() {
        return SequenceRepository.class;
    }

}
